@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  // background-color: #f5f5f5;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}

// 赵新增
.el-dialog {
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  position: absolute;
  top: 50%;
  left: 50%;
  /* height: 300px; */
  transform: translate(-50%, -50%);
  max-height: calc(100% - 30px);
  max-width: calc(100% - 30px);
}
.el-dialog .el-dialog__header {
  padding: 14px 20px;
  border-bottom: 1px solid #e4e4e4;
  /* background-color: #3a8ee6; */
}
.el-dialog .el-dialog__headerbtn {
  top: 16px;
  right: 16px;
}
.el-dialog .el-dialog__headerbtn .el-dialog__close {
    /* color: #fff; */
    font-weight: bold;
}
.el-dialog .el-dialog__title {
  line-height: normal;
  font-size: medium;
  /* color: #fff; */
}
.el-dialog .el-dialog__body {
  flex: 1;
  overflow: auto;
  padding: 16px 20px;
}
.el-dialog .el-dialog__footer {
  padding: 10px 20px;
  border-top: 1px solid #e4e4e4;
}
.el-table td, .el-table th {
  padding: 6px 0;
}
.el-table thead {
  color: #606266;
}
.col-left {
  width: 260px;
  border-right: 1px solid #c0c4cc;
}
.col-right {
  width: calc(100% - 260px);
}
[class*="col-"] {
  float: left;
  box-sizing: border-box;
  padding: 0 10px;
}
.grid-content {
  border-radius: 4px;
  min-height: 36px;
  height: calc(100vh - 108px);
}
.bg-purple {
  background: #d3dce6;
}
